home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / biz / dbase / tm_dbms22.lha / dbmsv2.2 / arexx / DB_WyczyôêPola.rexx < prev   
OS/2 REXX Batch file  |  1996-10-18  |  745b  |  2 lines

  1. /* Optimized with RexxOpt 1.8 */
  2. lan='Sys:Prefs/DBMS_PLT.prefs';pref='Sys:Prefs/DBMS.prefs';k=0;OPTIONS RESULTS;s=OPEN('Prefs',pref,'r');DO FOREVER;w=READLN('Prefs');IF LEFT(w,1)=';' THEN LEAVE;END;DO FOREVER;w=READLN('Prefs');IF w=''|EOF('Prefs') THEN LEAVE;IF LEFT(w,8)='ENGLI = '&RIGHT(w,1)='1' THEN lan='Sys:Prefs/DBMS_ENT.prefs';END;s=OPEN('lan',lan,'r');DO UNTIL EOF('lan');k=k+1;t.k=READLN('lan');END;s=CLOSE('lan');DO i=1 TO 2 BY 1;DO FOREVER;w=READLN('Prefs');IF LEFT(w,1)=';' THEN LEAVE;END;END;_linia1=READLN('Prefs');_linia1=COMPRESS(_linia1);FIRSTFIELD;IF _linia1='ALL' THEN;DO;DO UNTIL RC>0;PUTFIELD '';NEXTFIELD;END;END;IF ~(_linia1='ALL') THEN;DO;DO FOREVER;f=READLN('Prefs');IF f='' THEN LEAVE;CURRENTFIELD f;PUTFIELD '';END;END